/*
 * main.cpp
 *
 *  Created on: 10.09.2014
 *      Author: tony
 */

#include <iostream>

using namespace std;

class Basis{
public:
	int basis_pub;
protected:
	int basis_pro;
private:
	int basis_priv;
};

class Abgeleitet : private Basis{
public:
	using Basis::basis_pub;
};


int main(){
	class Abgeleitet abg;

	abg.basis_pub=3;
	cout << abg.basis_pub << endl;
	return 0;

}

